<?php
define('InEmpireBakData',TRUE);
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 5.1
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `hh85_goods`;");
E_C("CREATE TABLE `hh85_goods` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `types` int(11) NOT NULL COMMENT '红包类型 0 不可叠加 1 可叠加',
  `business_id` int(11) NOT NULL COMMENT '商家ID',
  `title` varchar(100) NOT NULL COMMENT '红包介绍',
  `content` varchar(255) NOT NULL,
  `price` int(11) NOT NULL COMMENT '剩余金额',
  `price1` int(11) NOT NULL COMMENT '总金额',
  `oneprice` int(11) NOT NULL COMMENT '每天领取的金额上限',
  `userprice` int(11) NOT NULL COMMENT '每个人领取的红包上线',
  `ones` int(11) NOT NULL COMMENT ' 每次领取的金额',
  `number` int(11) NOT NULL COMMENT '数量',
  `onenumber` int(11) NOT NULL COMMENT '一个人领取的上限',
  `start_time` int(11) NOT NULL,
  `start_shijian` int(11) NOT NULL COMMENT '每天开始时间',
  `end_shijian` int(11) NOT NULL COMMENT '活动持续时间',
  `end_time` int(11) NOT NULL,
  `kaishi` int(11) NOT NULL COMMENT '红包开抢开始时间',
  `jieshu` int(11) NOT NULL COMMENT '红包开抢结束时间',
  `zhuan` int(11) NOT NULL COMMENT '转送金额上限',
  `createtime` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8");
E_D("replace into `hh85_goods` values('17','51','0','24','','','994','994','1001','100','1','0','0','1429373040','1','1','1429632000','0','0','0','1429840098','1');");
E_D("replace into `hh85_goods` values('19','88','0','41','','','820','1000','1000','0','10','0','0','1429113600','9','60','1430323200','0','0','0','1429840357','1');");
E_D("replace into `hh85_goods` values('20','33','0','19','','','50000','50000','10000','100','10','0','0','1430186640','11','60','1431669900','1430186640','1430463600','500','1430189787','1');");
E_D("replace into `hh85_goods` values('23','51','0','24','','','1000','1000','100','5','1','0','0','1430150400','10','60','1430323200','1430236800','1430323200','3','1430273111','1');");

require("../../inc/footer.php");
?>